package com.hehe.conversion.hehemiddleware.model.req;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ImageUploadRequest {

    //@NotNull(message = "app_key不能为空")
    private String app_key;

    //@NotNull(message = "token不能为空")
    private String token;

    //@NotNull(message = "timestamp不能为空")
    private String timestamp;

    private String image_url; // 可选

    private MultipartFile image_file; // 可选，需要Spring Web依赖

    private String image_data; // 可选

}
